package cn.growthgate.fgo.entity.enums;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IEnum;

public enum Sex implements IEnum {
	
	UNKNOWN(0, "－"),
	MAN(1, "男性"),
	WOMAN(2, "女性"),
	DEON(3, "？"),
	ASTOLFO(4, "？？？"),
	SHIHUANGDI(5, "朕"),
	NONE(6, "无");
	
	private int value;
	private String desc;
	
	private Sex(final int value, final String desc) {
		this.value = value;
		this.desc = desc;
	}

	@Override
	public Serializable getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}

	@Override
	public String toString() {
		return getDesc();
	}
	
}
